﻿using Bricks.Business.Data.Repositories.Account;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;

namespace Bricks.Business.Service.Impl
{
    [Export(typeof(IUserMenuActionService))]
    public class UserMenuActionService : IUserMenuActionService
    {
        #region 保护属性
        [Import]
        protected IUserMenuActionRepository UserMenuActionRepository { get; set; }
        #endregion

        #region 公共属性
        public IQueryable<Models.Account.UserMenuAction> UserMenuActions
        {
            get { return UserMenuActionRepository.Entities; }
        }
        #endregion
    }
}
